DeprecationLevel

enum DeprecationLevel : Enum<DeprecationLevel>

Possible levels of a deprecation. The level specifies how the deprecated element usages are reported in code.

See also

Entries

HIDDEN
Link copied to clipboard
Native

Deprecated element will not be accessible from code.

ERROR
Link copied to clipboard
Native

Usage of the deprecated element will be reported as an error.

WARNING
Link copied to clipboard
Native

Usage of the deprecated element will be reported as a warning.

Properties

name
Link copied to clipboard
Native
val name: String
ordinal
Link copied to clipboard
Native
val ordinal: Int